import env from 'src/config';

// @ts-ignore
const {baseURL} = env;
export default {
    'getImgVerify': `${baseURL}user/getImgVerify`,
    'login': `${baseURL}user/login`,
    'logout': `${baseURL}user/logout`,
    'getSecret': `${baseURL}user/getSecret`,
    'modifyUser':`${baseURL}user/modify`,
    'modifyPwd':`${baseURL}user/modifyPwd`,
    'getVerifySms':`${baseURL}user/getVerifySms`,
    'register':`${baseURL}user/register`,
    'uploadSend':`${baseURL}upload/send`,
    'uploadSuccess':`${baseURL}upload/success`,
    'getTag':`${baseURL}tag/all`,
    'getArticle':`${baseURL}article/search`,
    'addArticle':`${baseURL}article/add`,
    'getComment':`${baseURL}comment/all`,
    'searchComment':`${baseURL}comment/search`,
    'addComment':`${baseURL}comment/add`,
    'getReply':`${baseURL}reply/all`,
    'searchReply':`${baseURL}reply/search`,
    'addReply':`${baseURL}reply/add`

};